#!/bin/sh

# 生成镜像
usage() {
	echo "Usage: sh tag_push.sh [jenkins_BUILD_NUMBER]"
	exit 1
}
T_DATE=`date +'%Y%m%d'`

#docker push harbor.xw.com/test/ruoyi-nginx:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-gateway:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-auth:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-monitor:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-modules-system:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-modules-file:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-modules-job:${T_DATE}_$1
docker push harbor.xw.com/test/ruoyi-modules-gen:${T_DATE}_$1